package com.guet.user.mapper;

import com.guet.user.beans.entity.User;
import com.guet.user.beans.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Li
 * @create 2022-12-16-21:43
 */
@Mapper
public interface UserMapper {
    User   login(@Param("userName") String userName, @Param("password") String password);



    Integer selectUserName(@Param("userName") String userName);

    void add(@Param("userVO") UserVO userVO, @Param("url") String url);

    User select(@Param("userId") Long userId);
}
